import config from '@/utils/config'
import { generateRequest } from '@/utils/request'
const { apiUrlPrefix } = config

/** 病区管理列表 */
export const inpatientWardListApi = generateRequest(`${apiUrlPrefix}/pcs/inpatientWard/list`)

/** 新增病区管理 */
export const createInpatientWardApi = generateRequest(`${apiUrlPrefix}/pcs/inpatientWard`)

/** 病区管理修改 */
export const updateInpatientWardApi = generateRequest(`${apiUrlPrefix}/pcs/inpatientWard/{id}`, 'put')

/** 病区管理删除 */
export const deleteInpatientWardApi = generateRequest(`${apiUrlPrefix}/pcs/inpatientWard/{id}`, 'delete')
